<?php
// $Id: node.tpl.php,v 3.2.1.13 2010/05/14 00:00:00 hass Exp $
?>
<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
  <div class="clearfix">
    <div class="content">
	<?php 
	print theme('imagecache', 'article_200_250', $node->field_image[0]['filepath'], $node->field_image[0]['data']['alt'], $node->field_image[0]['data']['title'], array('class' => 'imagefield-field_image_left'));
	?>
	<?php //print $node->field_image[0]['view']; ?>	
	<?php print $content ?>
    <?php if (!empty($node->field_include[0]['view'])) : ?>

			<?php if (!empty($node->field_include_param[0]['view'])) : ?>
			<?php 
				$params = explode("&",$node->field_include_param[0]['view']);
				foreach($params as $param){
					$var = explode("=",$param);
					$_GET[$var[0]] = $var[1];
				}
			?>
			<?php endif; ?>
			<?php 
			$node->field_article[0]['view'];
			include './web_ctrl/'.$node->field_include[0]['view'];
		?>
    <?php endif; ?>

    <?php if (!empty($node->field_article[0]['view'])) : ?>
      <div id="article_pickup">
        <?php 
			$_GET['search'] = $node->field_article[0]['view'];
			include './web_ctrl/tbr_pickup.php';
		?>
      </div>
    <?php endif; ?>
	</div>
      <?php if ($terms): ?>
        <div class="terms">
			<div class="label"><?php print t('Mots-clés');?></div>

			<div class="term"><?php 
				print get_term_link($node);
			?></div>
		</div>
      <?php endif;?>
  </div>
  <?php 
	if ($links) { 
		//print $links; 
	}
  ?>


</div>
